package com.cdu.guoxinan.www.smartcom.mapper;

import com.cdu.guoxinan.www.smartcom.domian.dto.QueryRepairDTO;
import com.cdu.guoxinan.www.smartcom.domian.dto.RepairDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.Repair;
import com.cdu.guoxinan.www.smartcom.domian.vo.RepairVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RepairMapper {
    List<RepairVO> getAllRepairs(QueryRepairDTO queryRepairDTO);

    int addRepair(Repair repair);

    int updateRepair(Repair repair);

    int deleteRepair(Long recordId);

    int deletePatch(Integer[] ids);
}
